<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>跨域请求演示</title>
    <script src="./jquery-2.1.4.min.js"></script>
</head>
<body>
    <div id="app"></div>
    <input type="button" value="点击发送跨域请求" onclick="sent()">
    <script>
        function sent() {
            $.get('http://localhost:81/zones',function (msg) {
                $('#app').html(msg);
            })
        }
    </script>
</body>
</html>